Fix clipboard paste metadata for qrexec (Windows)#162
Conversation
OpenQA test summaryComplete test suite and dependencies: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.3&build=2025031619-4.3&flavor=pull-requests Test run included the following:
New failures, excluding unstableCompared to: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.3&build=2025021804-4.3&flavor=update
Failed tests15 failures
Fixed failuresCompared to: https://openqa.qubes-os.org/tests/129058#dependencies 6 fixed
Unstable testsDetailsPerformance TestsPerformance degradation:30 performance degradations
Remaining performance tests:42 tests
|
I believe I got it. PR Amendment will follow in an hour. |
975cae1 to
e0fd222
Compare
PR is amended. I recommend some integration tests for pasting to Microsoft Windows.
|
gui-daemon/xside.c
Outdated
| PROTOCOL_VERSION_MAJOR, PROTOCOL_VERSION_MINOR); | ||
| metadata.successful = false; | ||
|
|
||
| /* open the clipboard file to determine its size for metadata */ |
There was a problem hiding this comment.
Use stat() instead? The other place opens the file, because it's going to read its content anyway, but it isn't needed here.
There was a problem hiding this comment.
Sure. My classic C knowledge is rusty these days. BTW, did it work at all?
There was a problem hiding this comment.
I haven't tried this version yet.
There was a problem hiding this comment.
Use stat() instead? The other place opens the file, because it's going to read its content anyway, but it isn't needed here.
This is done (but not tested on my side).
There was a problem hiding this comment.
Complete failure. Not even the previous notification:
https://openqa.qubes-os.org/tests/132668#step/windows_clipboard_and_filecopy/16
Is there any possibility to see if there was any qubes-guid error logs?
There was a problem hiding this comment.
No, this time it actually worked: https://openqa.qubes-os.org/tests/132667#step/windows_clipboard_and_filecopy/61. The seamless mode test fails for a different reason.
e0fd222 to
2c9d6ee
Compare
fixes: QubesOS/qubes-issues#9844